﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000AE9 RID: 2793
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MatchThreeSetBirdPosCsReq : IMessage<MatchThreeSetBirdPosCsReq>, IMessage, IEquatable<MatchThreeSetBirdPosCsReq>, IDeepCloneable<MatchThreeSetBirdPosCsReq>, IBufferMessage
	{
		// Token: 0x17002342 RID: 9026
		// (get) Token: 0x06007D02 RID: 32002 RVA: 0x0014DB40 File Offset: 0x0014BD40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MatchThreeSetBirdPosCsReq> Parser
		{
			get
			{
				return MatchThreeSetBirdPosCsReq._parser;
			}
		}

		// Token: 0x17002343 RID: 9027
		// (get) Token: 0x06007D03 RID: 32003 RVA: 0x0014DB47 File Offset: 0x0014BD47
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MatchThreeSetBirdPosCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002344 RID: 9028
		// (get) Token: 0x06007D04 RID: 32004 RVA: 0x0014DB59 File Offset: 0x0014BD59
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MatchThreeSetBirdPosCsReq.Descriptor;
			}
		}

		// Token: 0x06007D05 RID: 32005 RVA: 0x0014DB60 File Offset: 0x0014BD60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MatchThreeSetBirdPosCsReq()
		{
		}

		// Token: 0x06007D06 RID: 32006 RVA: 0x0014DB68 File Offset: 0x0014BD68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MatchThreeSetBirdPosCsReq(MatchThreeSetBirdPosCsReq other) : this()
		{
			this.birdId_ = other.birdId_;
			this.pos_ = other.pos_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007D07 RID: 32007 RVA: 0x0014DB99 File Offset: 0x0014BD99
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MatchThreeSetBirdPosCsReq Clone()
		{
			return new MatchThreeSetBirdPosCsReq(this);
		}

		// Token: 0x17002345 RID: 9029
		// (get) Token: 0x06007D08 RID: 32008 RVA: 0x0014DBA1 File Offset: 0x0014BDA1
		// (set) Token: 0x06007D09 RID: 32009 RVA: 0x0014DBA9 File Offset: 0x0014BDA9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BirdId
		{
			get
			{
				return this.birdId_;
			}
			set
			{
				this.birdId_ = value;
			}
		}

		// Token: 0x17002346 RID: 9030
		// (get) Token: 0x06007D0A RID: 32010 RVA: 0x0014DBB2 File Offset: 0x0014BDB2
		// (set) Token: 0x06007D0B RID: 32011 RVA: 0x0014DBBA File Offset: 0x0014BDBA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Pos
		{
			get
			{
				return this.pos_;
			}
			set
			{
				this.pos_ = value;
			}
		}

		// Token: 0x06007D0C RID: 32012 RVA: 0x0014DBC3 File Offset: 0x0014BDC3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MatchThreeSetBirdPosCsReq);
		}

		// Token: 0x06007D0D RID: 32013 RVA: 0x0014DBD1 File Offset: 0x0014BDD1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MatchThreeSetBirdPosCsReq other)
		{
			return other != null && (other == this || (this.BirdId == other.BirdId && this.Pos == other.Pos && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007D0E RID: 32014 RVA: 0x0014DC10 File Offset: 0x0014BE10
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.BirdId != 0U)
			{
				num ^= this.BirdId.GetHashCode();
			}
			if (this.Pos != 0U)
			{
				num ^= this.Pos.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007D0F RID: 32015 RVA: 0x0014DC68 File Offset: 0x0014BE68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007D10 RID: 32016 RVA: 0x0014DC70 File Offset: 0x0014BE70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007D11 RID: 32017 RVA: 0x0014DC7C File Offset: 0x0014BE7C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Pos != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.Pos);
			}
			if (this.BirdId != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.BirdId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007D12 RID: 32018 RVA: 0x0014DCD8 File Offset: 0x0014BED8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.BirdId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BirdId);
			}
			if (this.Pos != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Pos);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007D13 RID: 32019 RVA: 0x0014DD30 File Offset: 0x0014BF30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MatchThreeSetBirdPosCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.BirdId != 0U)
			{
				this.BirdId = other.BirdId;
			}
			if (other.Pos != 0U)
			{
				this.Pos = other.Pos;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007D14 RID: 32020 RVA: 0x0014DD80 File Offset: 0x0014BF80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007D15 RID: 32021 RVA: 0x0014DD8C File Offset: 0x0014BF8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					if (num != 64U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.BirdId = input.ReadUInt32();
					}
				}
				else
				{
					this.Pos = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002FC5 RID: 12229
		private static readonly MessageParser<MatchThreeSetBirdPosCsReq> _parser = new MessageParser<MatchThreeSetBirdPosCsReq>(() => new MatchThreeSetBirdPosCsReq());

		// Token: 0x04002FC6 RID: 12230
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002FC7 RID: 12231
		public const int BirdIdFieldNumber = 8;

		// Token: 0x04002FC8 RID: 12232
		private uint birdId_;

		// Token: 0x04002FC9 RID: 12233
		public const int PosFieldNumber = 2;

		// Token: 0x04002FCA RID: 12234
		private uint pos_;
	}
}
